#pragma once

#include <vector>
#include <cstdint>

using namespace std;

class Serialization {
public:
    virtual vector<uint8_t> serial() = 0;
    virtual void deserial(const vector<uint8_t>&) = 0;
};